package com.example.visitor;

import org.apache.tomcat.jni.Directory;

import java.io.File;
import java.util.Dictionary;

/**
 * @version 1.0.0
 * @className: Visitor
 * @description: 访问者的抽象类
 * @author: rosszhang
 * @date: 2022/5/16 15:59
 */
public abstract class Visitor {
    public abstract void visit(File file);

    public abstract void visit(Directory directory);
}
